package com.masterclient.app.modules.category.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.masterclient.app.modules.category.beans.CategoryDetailBean;

import java.util.List;
import java.util.Map;

/**
 * 作者：sean
 * 创建时间：2017/7/3 18:04
 * 功能说明：
 */

public interface CategoryDetailContract{

    interface View extends BaseView {
        void showSearchGood(CategoryDetailBean dataBean, boolean changeBrand);
        //        void showBrandList(CategoryBrandBean.DataBean dataBean);
        void searchError();
    }

    abstract static class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() {
        }
        public abstract void getBrandGoodList(boolean changeBrand,Map<String,String> attributes,String top_cid,String type,String cid,
                                              String bid, List<String> brand_ids,List<String> category_ids , String start_price,
                                              String end_price, String page, String page_size, String sort, String promotion_type);
//        public abstract void getProductList(String brand_id,String cid, String page, String page_size, String sort);
//        public abstract void getCategoryBrandList(@NonNull String cid);
    }
}